﻿USE [master]
GO

/****** Object:  Database [OfflineSitka] ******/
IF EXISTS (SELECT name FROM sys.databases WHERE name = N'OfflineSitka')
BEGIN
  raiserror('Dropping existing OfflineSitka database ....',0,1)
 DROP DATABASE [OfflineSitka] 
END
GO


raiserror('Creating OfflineSitka database....',0,1)


/****** Object:  Database [OfflineSitka]    Script Date: 03/06/2008 09:50:04 ******/
CREATE DATABASE [OfflineSitka] 

GO
EXEC dbo.sp_dbcmptlevel @dbname=N'OfflineSitka', @new_cmptlevel=90
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [OfflineSitka].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [OfflineSitka] SET ANSI_NULL_DEFAULT OFF 
GO
ALTER DATABASE [OfflineSitka] SET ANSI_NULLS OFF 
GO
ALTER DATABASE [OfflineSitka] SET ANSI_PADDING OFF 
GO
ALTER DATABASE [OfflineSitka] SET ANSI_WARNINGS OFF 
GO
ALTER DATABASE [OfflineSitka] SET ARITHABORT OFF 
GO
ALTER DATABASE [OfflineSitka] SET AUTO_CLOSE OFF 
GO
ALTER DATABASE [OfflineSitka] SET AUTO_CREATE_STATISTICS ON 
GO
ALTER DATABASE [OfflineSitka] SET AUTO_SHRINK OFF 
GO
ALTER DATABASE [OfflineSitka] SET AUTO_UPDATE_STATISTICS ON 
GO
ALTER DATABASE [OfflineSitka] SET CURSOR_CLOSE_ON_COMMIT OFF 
GO
ALTER DATABASE [OfflineSitka] SET CURSOR_DEFAULT  GLOBAL 
GO
ALTER DATABASE [OfflineSitka] SET CONCAT_NULL_YIELDS_NULL OFF 
GO
ALTER DATABASE [OfflineSitka] SET NUMERIC_ROUNDABORT OFF 
GO
ALTER DATABASE [OfflineSitka] SET QUOTED_IDENTIFIER OFF 
GO
ALTER DATABASE [OfflineSitka] SET RECURSIVE_TRIGGERS OFF 
GO
ALTER DATABASE [OfflineSitka] SET  ENABLE_BROKER 
GO
ALTER DATABASE [OfflineSitka] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
GO
ALTER DATABASE [OfflineSitka] SET DATE_CORRELATION_OPTIMIZATION OFF 
GO
ALTER DATABASE [OfflineSitka] SET TRUSTWORTHY OFF 
GO
ALTER DATABASE [OfflineSitka] SET ALLOW_SNAPSHOT_ISOLATION OFF 
GO
ALTER DATABASE [OfflineSitka] SET PARAMETERIZATION SIMPLE 
GO
ALTER DATABASE [OfflineSitka] SET  READ_WRITE 
GO
ALTER DATABASE [OfflineSitka] SET RECOVERY SIMPLE 
GO
ALTER DATABASE [OfflineSitka] SET  MULTI_USER 
GO
ALTER DATABASE [OfflineSitka] SET PAGE_VERIFY CHECKSUM  
GO
ALTER DATABASE [OfflineSitka] SET DB_CHAINING OFF 